package com.itxiuyixiu.homework.entity.dto;

/**
 * @author 黄磊
 * @date 2020/3/6
 */
public class AdminDto implements Cloneable {
    private String username;

    private String password;

    private String authorities;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthorities() {
        return authorities;
    }

    public void setAuthorities(String authorities) {
        this.authorities = authorities;
    }

    public void addAuthorities(String authorities) {
        this.authorities = "," + authorities;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
